package test;

import jgame.JGColor;
import jgame.JGObject;

public abstract class AbstractProjectile extends JGObject implements Projectile {
	
	
	protected static int collisionId = Collision.PROJECTILE;
	protected JGColor color;
	
	public AbstractProjectile(String name, String gfxName, int xSpeed, int ySpeed, int range, double xpos, double ypos, JGColor color){
		super(name, true, xpos, ypos, Collision.PROJECTILE, gfxName, xSpeed, ySpeed, range);
		this.color = color;
	}
	
	public JGColor getColor(){
		return color;
	}
	
	
	/*
	public static Projectile get(String lol){
		return this;
	} */
	
}
